/**
 * @filename:Sample 2022-03-09 07:00:40
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>代码自动生成，请勿修改</p>
 *
 * <p>说明： 样品单资料实体类</P>
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Sample extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1646823640112L;
    @ApiModelProperty(name = "status", value = "状态")
    private String status;
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Integer customerId;
    @ApiModelProperty(name = "customerItemsNo", value = "客人货号")
    private String customerItemsNo;
    @ApiModelProperty(name = "deliveryDate", value = "交期")
    @JSONField(format = "yyyy-MM-dd")
    private Date deliveryDate;
    @ApiModelProperty(name = "handler", value = "公司经办人")
    private String handler;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "ID 主键")
    private Integer id;
    @ApiModelProperty(name = "quotationId", value = "报价单ID")
    private Integer quotationId;
    @ApiModelProperty(name = "sampleDate", value = "报价日期")
    @JSONField(format = "yyyy-MM-dd")
    private Date sampleDate;
    @ApiModelProperty(name = "sampleName", value = "样品单名称")
    private String sampleName;
    @ApiModelProperty(name = "sampleNo", value = "样品单编号")
    private String sampleNo;
    @ApiModelProperty(name = "signatureDate", value = "签字日期")
    @JSONField(format = "yyyy-MM-dd")
    private Date signatureDate;
    @ApiModelProperty(name = "supplierAddress", value = "工厂地址")
    private String supplierAddress;
    @ApiModelProperty(name = "supplierContacts", value = "工厂联系人")
    private String supplierContacts;
    @ApiModelProperty(name = "supplierHandler", value = "工厂经办人")
    private String supplierHandler;
    @ApiModelProperty(name = "supplierId", value = "工厂ID")
    private Integer supplierId;
    @ApiModelProperty(name = "supplierPhone", value = "工厂手机")
    private String supplierPhone;
    @ApiModelProperty(name = "supplierSignatureDate", value = "工厂签字日期")
    @JSONField(format = "yyyy-MM-dd")
    private Date supplierSignatureDate;
    //----------其他表字段-------------------
    @ApiModelProperty(name = "customerName", value = "客人名称")
    @TableField(exist = false)
    private List<Integer> itemIds;
    @TableField(exist = false)
    private String supplierName;
    @TableField(exist = false)
    private String supplierNo;

    @ApiModelProperty(name = "createTimeStart", value = "时间条件参数开始--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;
    @ApiModelProperty(name = "createTimeEnd", value = "时间条件参数结束--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;
    @ApiModelProperty(name = "deliveryDateStart", value = "时间条件参数开始--交期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date deliveryDateStart;
    @ApiModelProperty(name = "deliveryDateEnd", value = "时间条件参数结束--交期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date deliveryDateEnd;
    @ApiModelProperty(name = "idBatch", value = "批量主键处理")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private List<Integer> idBatch;
    @ApiModelProperty(name = "sampleDateStart", value = "时间条件参数开始--报价日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date sampleDateStart;
    @ApiModelProperty(name = "sampleDateEnd", value = "时间条件参数结束--报价日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date sampleDateEnd;
    @ApiModelProperty(name = "signatureDateStart", value = "时间条件参数开始--签字日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date signatureDateStart;
    @ApiModelProperty(name = "signatureDateEnd", value = "时间条件参数结束--签字日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date signatureDateEnd;
    @ApiModelProperty(name = "supplierSignatureDateStart", value = "时间条件参数开始--工厂签字日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date supplierSignatureDateStart;
    @ApiModelProperty(name = "supplierSignatureDateEnd", value = "时间条件参数结束--工厂签字日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd")
    private Date supplierSignatureDateEnd;
    @ApiModelProperty(name = "updateTimeStart", value = "时间条件参数开始--修改时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTimeStart;
    @ApiModelProperty(name = "updateTimeEnd", value = "时间条件参数结束--修改时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTimeEnd;
    @ApiModelProperty(name = "paramAsc", value = "升序参数：createTime、createUser、customerId、customerItemsNo、deliveryDate、handler、id、isDelete、quotationId、sampleDate、sampleName、sampleNo、signatureDate、supplierAddress、supplierContacts、supplierHandler、supplierId、supplierPhone、supplierSignatureDate、updateTime、updateUser、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramAsc;
    @ApiModelProperty(name = "paramDesc", value = "降序参数：createTime、createUser、customerId、customerItemsNo、deliveryDate、handler、id、isDelete、quotationId、sampleDate、sampleName、sampleNo、signatureDate、supplierAddress、supplierContacts、supplierHandler、supplierId、supplierPhone、supplierSignatureDate、updateTime、updateUser、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramDesc;
}
